package cn.tedu.spring.eg2;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class MapperImpl1 implements Mapper{
    @Value("我是mapper1")
    private String name;

    @Override
    public String toString() {
        return "MapperImpl1{" +
                "name='" + name + '\'' +
                '}';
    }
}
